package com.lin.mapper;

import com.lin.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AdminMapper {


    @Select("select * from admin where username = #{username} ")
    Admin findByUserName(String username);
}
